﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Warehouse.Domain.DTO
{
    public class InProductListDto
    {
        /// <summary>
        /// 报损id
        /// </summary>
        public int InjureId { get; set; }
        /// <summary>
        /// 报损单号
        /// </summary>
        public string? InjureCode { get; set; }
        /// <summary>
        /// 报损类型
        /// </summary>
        public int? InjureType { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? MorderNumber { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? MakePerson { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? MarkTime { get; set; }
        /// <summary>
        /// 报损状态
        /// </summary>
        public int? InjureStart { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public int? AuditStart { get; set; } = 0;
        /// <summary>
        /// 公司id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int? user_id { get; set; }




        /// <summary>
        /// 产品id
        /// </summary>
        public int ProductsID { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductsCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductsName { get; set; }
        /// <summary>
        /// 厂商编码
        /// </summary>
        public string? VendorsCode { get; set; }
        /// <summary>
        /// 内部编码
        /// </summary>
        public string? InteriorCode { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specs { get; set; }
        /// <summary>
        /// 产品类别
        /// </summary>
        public int? ProductTypeID { get; set; }
        /// <summary>
        /// 存储单位
        /// </summary>
        public string? StorageUnits { get; set; }
        /// <summary>
        /// 预警（上）
        /// </summary>
        public int? Upperlimit { get; set; }
        /// <summary>
        /// 预警（下）
        /// </summary>
        public int? Lowerlimit { get; set; }
        /// <summary>
        /// 包装类型
        /// </summary>
        public int? WrapType { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        public decimal? Weight { get; set; }
        /// <summary>
        /// 默认仓库
        /// </summary>
        public int? WarehouseId { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public int? StorehouseId { get; set; }
        /// <summary>
        /// 默认供应商
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 默认客户
        /// </summary>
        public int? ClientId { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? Describe { get; set; }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int? ProcurementNum { get; set; }


        /// <summary>
        /// 报损产品id
        /// </summary>
        public int InProductId { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int? ProductId { get; set; }
        /// <summary>
        /// 报损数量
        /// </summary>
        public int? InjureNum { get; set; }
        ///// <summary>
        ///// 报损库位
        ///// </summary>
        //public int? StorehouseId { get; set; }




        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }
        /// <summary>
        /// 库位名称
        /// </summary>
        public string? StorehouseName { get; set; }


    }
}
